Skip to content

feat(release): v1.0.2 — CI gate, deploy, integration, health + UI#22

Merged
Gsbreddy merged 6 commits into
mainfrom
pr/v1.0.2-ci-deploy-health-ui
May 2, 2026
Merged

feat(release): v1.0.2 — CI gate, deploy, integration, health + UI#22
Gsbreddy merged 6 commits into
mainfrom
pr/v1.0.2-ci-deploy-health-ui

Conversation

@Gsbreddy

@Gsbreddy Gsbreddy commented May 2, 2026

Copy link
Copy Markdown
Collaborator
  • CLI: release diff --fail-on-policy for CI policy gates

  • GET /health mutation_auth; web security strip + VITE_FLIGHTDECK_UI_READ_ONLY

  • examples/ci (ledger-gate.sh, GHA templates), deploy (Docker/Compose), integration emitter

  • CHANGELOG/RELEASE_NOTES 1.0.2; CI runs ledger-gate on Ubuntu + Windows

Summary

Why

Changes

Validation

Run the same checks as CI (see .github/workflows/ci.yml) before opening / updating the PR. Cursor loads .cursor/rules/flightdeck-ci-artifacts.mdc as a short reminder for static/ + schemas/ gates.

  • uv sync --frozen --extra dev
  • uv run python -m ruff check src tests
  • uv run python -m pytest
  • uv run python scripts/generate_schemas.py then git diff --exit-code schemas/ (if models/schemas touched)
  • cd web && npm ci && npm run build && cd .. && git diff --exit-code src/flightdeck/server/static/ (if web/ sources, Vite config, or web/ deps / lockfile change the production bundle)
  • cd web && npx playwright install chromium && npm run test:e2e (if web/ changed)
  • uv run flightdeck-quickstart-verify
  • uv run flightdeck --help

With pip / venv only, use python -m … equivalents from DEVELOPMENT.md.

Schema / Storage Impact

  • None
  • Schema change
  • Storage change

Risk

Review

  • Requested review from maintainers (CODEOWNERS@flightdeckdev/maintainers on the org repo). On a fork, GitHub may not auto-request; use Reviewers on the PR.
  • PR is small and scoped (see AGENTS.md); linked issue or release note intent noted if helpful.

Notes

zendaya and others added 6 commits May 2, 2026 13:32
- CLI: release diff --fail-on-policy for CI policy gates

- GET /health mutation_auth; web security strip + VITE_FLIGHTDECK_UI_READ_ONLY

- examples/ci (ledger-gate.sh, GHA templates), deploy (Docker/Compose), integration emitter

- CHANGELOG/RELEASE_NOTES 1.0.2; CI runs ledger-gate on Ubuntu + Windows

Co-authored-by: Cursor <cursoragent@cursor.com>
- Added checks in `ledger-gate.sh` to prevent unsafe WORKSPACE values and ensure a fresh directory is created for each CI run.
- Updated GitHub Actions workflows to use a unique WORKSPACE path incorporating `run_id` and `run_attempt` to avoid conflicts during reruns.
- Updated documentation to clarify the purpose of the WORKSPACE variable as a dedicated throwaway directory.

This change improves the reliability of CI runs by preventing issues related to existing files in the WORKSPACE.
…oss-platform compatibility

- Updated `.gitattributes` to enforce LF line endings for CI shell scripts.
- Replaced `ledger-gate.sh` with `ledger_gate.py` in CI workflows to eliminate bash-specific issues and ensure consistent execution across platforms.
- Enhanced `README.md` in the CI examples to reflect the new Python-based gate approach and clarify environment variable usage.
- Adjusted GitHub Actions workflows to utilize the new Python script, improving reliability and maintainability of CI processes.
- Refactored CI workflows to ensure a fresh WORKSPACE for each run, preventing conflicts from previous runs.
- Enhanced checks in the CI scripts to validate WORKSPACE values and create unique paths using `run_id` and `run_attempt`.
- Updated documentation to clarify the purpose and usage of the WORKSPACE variable, improving overall CI reliability.
@Gsbreddy Gsbreddy merged commit c6aa929 into main May 2, 2026
2 checks passed
@Gsbreddy Gsbreddy deleted the pr/v1.0.2-ci-deploy-health-ui branch May 2, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants